﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace AI.Steering
{
	/// <summary>
    /// 抽象的操控类
    /// </summary>
    [RequireComponent(typeof(LocomotionController))]
	public abstract class Steering : MonoBehaviour {
        [Tooltip("速度")]
        public float speed = 5;
        public int weight = 1;
        protected LocomotionController controller;
        private void Awake()
        {
            controller = GetComponent<LocomotionController>();
        }
        public abstract Vector3 GetForce();
	}
}

